package com.atguigu.lease.web.admin.mapper;

import com.atguigu.lease.model.entity.ApartmentInfo;
import com.atguigu.lease.web.admin.vo.apartment.ApartmentItemVo;
import com.atguigu.lease.web.admin.vo.apartment.ApartmentQueryVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

/**
* @author liubo
* @description 针对表【apartment_info(公寓信息表)】的数据库操作Mapper
* @createDate 2023-07-24 15:48:00
* @Entity com.atguigu.lease.model.ApartmentInfo
*/
public interface ApartmentInfoMapper extends BaseMapper<ApartmentInfo> {
    /**
     * @author gengjian
     * @date 2024/12/10 09:38:01
     * 根据动态条件（省份，城市，区县）分页查询公寓列表vo（房间总数，空房间数）
     * ipage共用同一个对象，这里规定返回Ipage
     */
    IPage<ApartmentItemVo> selectPageApartmentInfo(IPage<ApartmentItemVo> iPage, ApartmentQueryVo queryVo);
}




